#ifndef XMLTABLEDIALOG_H
#define XMLTABLEDIALOG_H

#include <QDialog>
#include <QSpinBox>
#include <QTableView>
#include "xmltabmodel.h"
#include "comboxdelegate.h"
#include "ui_xmltabledialog.h"

class XMLTableDialog: public QDialog, private Ui::XMLTableDialog
{
Q_OBJECT

public:

XMLTableDialog();
~XMLTableDialog();
void set_model( const QList< QMap<int, QString> > & data,
                bool ncat_export );
QMap<int, int> return_columns();
int return_ignored_rows();

public slots:

void reset_ignored_rows(int n);


signals:

private:

int ignored_rows;

protected:

};

#endif // XMLTABLEDIALOG_H
